package com.meilai.project.dto.media;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.meilai.project.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author 杨凯博
 * @date 2022/2/13
 */


@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@ApiModel(value="点位", description="点位")
public class MediaPointDTO extends BaseEntity {
    @ApiModelProperty("编号")
    private String code;
    @ApiModelProperty("之前的编号")
    private String old_code;
    @ApiModelProperty(value = "项目ID")
    private Long building_area_id;
    @ApiModelProperty(value = "媒体类型ID")
    private Long media_type_id;
    @ApiModelProperty(value = "AB面ID:A面id-57；B面id-58")
    private Long ab_type_id;
    @ApiModelProperty(value = "画面属性ID")
    private Long pic_type_id;
    @ApiModelProperty(value = "楼层类型：1、多层2、高层")
    private Integer building_type;
    @ApiModelProperty("楼号")
    private String building_number;
    @ApiModelProperty("单元号")
    private String unit_number;
    @ApiModelProperty("层数")
    private String floor;
    @ApiModelProperty("门号")
    private String door_number;
    @ApiModelProperty("位置")
    private String location;
    @ApiModelProperty("对外尺寸_宽(cm)")
    private String size_width;
    @ApiModelProperty("对外尺寸_高(cm)")
    private String size_height;
    @ApiModelProperty("对内尺寸_宽(cm)")
    private String size_width_inside;
    @ApiModelProperty("对内尺寸_高(cm)")
    private String size_height_inside;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty(value = "纬度", example = "30.000000")
    private BigDecimal lat;
    @ApiModelProperty(value = "经度", example = "120.000000")
    private BigDecimal lng;
    @ApiModelProperty(value = "是否亮灯，0：不亮；1：亮灯")
    private Boolean is_light;

    @ApiModelProperty(value = "B点位-对应A面")
    private AbMediaPointDTO bpoint;

    @ApiModelProperty(value = "规格id")
    private Long media_type_specs_id;

    @ApiModelProperty(value = "方向 大屏专属")
    private String direction;

    @ApiModelProperty(value = "分辨率单位（大屏专属）数据来源于字典表")
    private Long resolving_power;

    @ApiModelProperty(value = "分辨率（大屏专属）")
    private String resolving_power_value;

    @ApiModelProperty(value = "颜色模式（大屏专属）数据来源于字典表")
    private Long color_mode;

    @ApiModelProperty(value = "颜色位数（大屏专属）数据来源于字典表")
    private Long color_bits;

    @ApiModelProperty(value = "开启时间（大屏专属）")
    private String opening_time;

    @ApiModelProperty(value = "关闭时间（大屏专属）")
    private String closing_time;

    @ApiModelProperty(value = "视频格式（大屏专属）数据来源于字典表")
    private Long video_format;
}
